package com.lanchetech.admin.service;


import com.lanchetech.bean.request.PageReq;
import com.lanchetech.bean.response.BasePageResp;
import com.lanchetech.bean.response.BaseResp;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.entity.Article;
import com.lanchetech.entity.CompanyIntroduction;

public interface ArticleService {
    ResultData<Article> getArticleDetail(Long id);

    BaseResp editArticle(Article article);

    ResultData<BasePageResp<Article>> getArticlePage(PageReq req);

    BaseResp deleteArticle(Long id);

    BaseResp editArticleEffect(Long id, String effect);

    BaseResp editCompanyIntroduction(CompanyIntroduction req);

    ResultData<CompanyIntroduction> getCompanyIntroduction();
}